home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1190_updating_object_attributes_in_inspectors.rtf < prev    next >
Text File  |  1995-06-12  |  910b  |  27 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Ohlfs;}
  2. \paperw13040
  3. \paperh10800
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:  What method is sent to my inspector when an object is newly selected and the inspector must update the attributes for that object?\
  8. \
  9. A: The 
  10. \b revert:
  11. \b0  method is sent to the inspector when an object of that type is selected by the user.  The 
  12. \b revert: 
  13. \b0 method
  14. \b  
  15. \b0 should restore the attributes on the inspector panel according the state of the selected object.  The selected object is named '
  16. \b object
  17. \b0 ' within the scope of the 
  18. \b revert:
  19. \b0  method.  Remember that this method is also called from when the user clicks the panel's revert button, so the method should work under both scenarios.\
  20.  
  21. \fc1\cf1 \
  22. QA751\
  23. \
  24. Valid for 2.0, 3.0\
  25. \
  26.  
  27.